<meta name="keywords"  content="<? echo $site_keyword; ?>" />
<meta name="description" content="<? echo $site_description; ?>" />
<title>点餐系统<? echo $site_title; ?></title>
<link rel="Shortcut Icon" href="uploadfiles/<? echo $site_icon; ?>">


<link  type="text/css" href="/css/style.css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.10.2.min.js"></script>

<script type="text/javascript" src="/js/basic.js"></script>


<?/*layui部分框架*/?>
    <link href="/application/ui/css/layui.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/application/ui/layui.js"></script>

<?//js日期控件?>
<script src="/application/laydate/laydate.js"></script>




<script language="javascript">
    function printdiv(printpage)
    {//把要打印的区域提取出来做新的页面内容。打印完后恢复正常。

        var newstr = printpage.innerHTML;
        var oldstr = document.body.innerHTML;
        document.body.innerHTML =newstr;
        window.print();
        document.body.innerHTML=oldstr;
        return false;
    }



    function print_btn(print_area_id)
    {//点击按钮运行函数，形参是要打印的标签的ID


        var div_print=document.getElementById(print_area_id);
        printdiv(div_print);

    }

</script>
